<%@ page language="java" import="java.util.*" contentType="application/vnd.ms-excel;charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="java.io.*" %>
<%@ page import="org.apache.poi.hssf.usermodel.HSSFWorkbook" %>
<%	
		response.reset();
		byte[] wb=(byte[])request.getAttribute("workbook");
		OutputStream os=response.getOutputStream();
		os.write(wb);
//		wb.write(os);
		os.flush();
		os.close();
%>
